/**
 *  路由跳转模块配置
 *  
 *  beforeEach 跳转之前对路由进行处理
 *  afterEach 跳转之后进行处理
 */

import router from './router'
import NProgress from 'nprogress' 
import 'nprogress/nprogress.css'


router.beforeEach((to, from, next) => {
  NProgress.start()
})

router.afterEach((to,from) => {

  NProgress.done() 
})
